package com.lhj.xxsc.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 罗惠江
 * @version 1.0
 * @email 1511619294@qq.com
 * @date 2020/12/2 14:10
 */

/**
 * 二级分类VO
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Catelog2Vo {
	// 一级父分类的id
	private String catalog1Id;
	// 三级子分类
	private List<Catelog3Vo> catalog3List;
	private String id;
	private String name;

	/**
	 * 三级分类VO
	 */
	@NoArgsConstructor
	@AllArgsConstructor
	@Data
	public static class Catelog3Vo {
		// 二级父分类的id
		private String catalog2Id;
		private String id;
		private String name;
	}
}
